﻿// A mask is a element that overlays the parent view
define([
    'Wjs/ui/widgets/foundation/Overlay'
],
function () {
    'use strict';

    return Wjs.defineOnce({

        type: 'Mask',

        internal: {

            base: Wjs.getType('Overlay'), // It has a single child which is a message

            initialize: function () {

                this.addClass('wjs-mask');
            }

        }

    });

});
